﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    public abstract class BaseEntity
    {
        public BaseEntity()
        {
            IsActived = true;
            IsDeleted = false;
            CreatedTime = DateTime.Now;
            UpdatedTime = DateTime.Now;
            DisplayOrder = 0;
        }

        public long Id { get; set; }
        //用户名
        //public string UserName { get; set; }
        //密码
        //public string Password { get; set; }
        //激活
        public bool IsActived { get; set; }
        //删除
        public bool IsDeleted { get; set; }
        //创建时间
        public DateTime CreatedTime { get; set; }
        //修改时间
        public DateTime UpdatedTime { get; set; }

        public int DisplayOrder { get; set; }
        //评论
        public string Remarks { get; set; }
    }
}
